Show:

Q gallery Class

Plugin Creates gallery of of images

Constructor

Item Index

Methods

Methods

flip

(
  • [options]
)

This plugin Makes a flip animation using two block elements. The html structure must be a container with two nested block elements.

Parameters:

  • [options] Object optional

    options is an Object with function parameters

    • [direction] String optional

      direction May be 'h' (horizontal) or 'v' (vertical) . Optional.

    • [duration] Number optional

      duration is a Duration of animation in milliseconds

    • [onFinish] Q.Event optional

      onFinish Q.Event to call when flipping is finished. Optional.

Example:

Front side
Back side